<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>个人信息</title>
    <style>
        a{
            text-decoration: none;
            color: #1106ff;
        }
        div p{
            font-size: 25px;
        }
        tr{
            line-height: 100px;
            font-size:25px;
        }
        td{
            text-align: center;
        }

        li:hover{
            background-color: #269abc;
        }
        li{
            padding-top: 10px;
            padding-bottom: 10px;
        }
        ul:hover{
            background-color: #a6e1ec;
        }
    </style>
</head>
<body>
<div  style="height:8vh;margin-top: 10px;margin-bottom: 10px" th:insert="~{back/header::head}"></div>
<div style="height:92vh;width: 20%;float: left;" th:insert="~{back/header::left}" ></div>
<div style="margin-left: 20%; text-align: center"  >
    <h1 style="text-align: center">个人信息</h1>
    <p style="text-align: center">
        头像：<img  style="width: 50px;height: 50px;border-radius: 50%"
                   th:src="@{'/images/'+
        ${#session.getAttribute('photo')}}" alt="" src="">
    </p>
    <p style="text-align: center" >
        用户名：<span th:text="${admin.getUsername()}"></span>
    </p>
    <p style="text-align: center">
        密码：<span th:text="${admin.getPassword()}"></span>
    </p>
    <p style="text-align: center">
        性别：<span th:text="${admin.getSex()}"></span>
    </p>
    <p style="text-align: center">
        邮箱：<span th:text="${admin.getEmail()}"></span>
    </p>
    <p style="text-align: center">
        电话：<span th:text="${admin.getTel()}"></span>
    </p>
    <p style="text-align: center">
        个人介绍：
    </p>
    <p style="text-align: center">
    <span th:text="${admin.getPassword()}"></span>
    </p>
</div>
</body>
</html>